/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        int[][] image = {{1,1,1}, {1,1,0}, {1,0,1}};
        solution.floodFill(image, 1, 1, 2);
    }
}